import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_10 =  {
    Idx_uid: {
      ...CardEditableParamsDefault.InputNormal,
      label: 'uid',
      placeholder: '请填入uid',
    },
    title: {
      ...CardEditableParamsDefault.InputNormal,
      label: '标题',
      placeholder: '默认可不填',
    },
    title_extra_text: {
      ...CardEditableParamsDefault.InputNormal,
      label: '副标题',
      placeholder: '默认可不填',
      tooltips: TooltipsData.CARD_10[2],
    },
    // desc: {
    //   ...CardEditableParamsDefault.InputNormal,
    //   label: '描述',
    //   placeholder: '描述',
    //   // disabled: true,
    // },
    desc1: {
      ...CardEditableParamsDefault.InputNormal,
      label: '描述一',
      placeholder: '描述：{#desc1}',
      // disabled: true,
      tooltips: TooltipsData.CARD_10[0],
    },
    desc2: {
      ...CardEditableParamsDefault.InputNormal,
      label: '描述二',
      placeholder: '默认填充',
      disabled: true,
      tooltips: TooltipsData.CARD_10[1],
    },
    buttons: {
      ...CardEditableParamsDefault.Lists,
      label: '添加按钮',
      limit: 1,
      param_params: {
        scheme: {
          ...CardEditableParamsDefault.InputNormal,
          label: '跳转链接',
          placeholder: '默认填充',
          disabled: true,
        },
        params: {
          ...CardEditableParamsDefault.Obj,
          label: '按钮参数',
          param_params: {
            uid: {
              ...CardEditableParamsDefault.InputNormal,
              label: '关注uid',
              placeholder: '默认填充',
              disabled: true,

              param_effect_parent: {
                effect_parent_keys: ['Idx_uid'],
                effect_type: ['COPY'],
                effect_parent_val: '',
                effect_clear: {  // 受 SHOW_HIDE 影响
                  effect_clear_default_val: '',  // default
                },
              },
            },
          },
        },
      },
    },
    ...CardDataEditableParamsCommonDefault,
    Idx_buttons_actionlog: {
      ...CardEditableParamsDefault.SwitchNormal,
      label: '按钮开启统计',
      bIsUpdateManual: true,
      boolReplace: {
        boolTrue: '1',
        boolFalse: '0',
      },
    },
  };
export default CARD_10;